package com.gray.wow.biz;

import java.util.List;

import com.gray.wow.domain.Content;
import com.gray.wow.domain.Domain;
import com.gray.wow.domain.PageModel;
import com.gray.wow.domain.Tag;

public interface ContentBiz {
	public PageModel getContent(Integer pageSize, Integer page,
			String openTime, String status, String maxTime,Integer tag);

	public PageModel getContentByTag(String tag, Integer pageSize);

	public PageModel getContentByOpenTime(String openTime, String maxTime,
			Integer pageSize);

	public boolean saveContent(Content content);

	public boolean delContent(int... ids);

	public boolean approveContent(int... ids);

	public boolean tagContent(String tag, int... ids);

	public boolean deadlineContent(String deadline, int... ids);

	public Content getContentById(Integer id);

	public Domain getMyDomain();

	public boolean saveDomain(Domain domain);
	
	public Domain getDomainById(Integer id);
	
	public PageModel getDomain(Integer page, Integer pageSize,String domainType) ;
	
	public List<Domain> getFooterLink();
	
	public boolean deleteDomain(int... ids);
	
	public PageModel getFooterLink(Integer page,Integer pageSize);
	
	public List<Tag> getTagList();
	
	public List<Tag> getTagWidthContent();
	
	public boolean updateTag(Tag tag);
	
	
	
}
